import request from "@/utils/request"

export function userLogin() {
  return request({
    url: "/user/login",
    method: "post",
    baseURL: process.env.VUE_APP_API_SERVICE_URL,
  });
}

export function getSupport() {
  return request({
    url: "/get/support",
    method: "post",
    baseURL: process.env.VUE_APP_API_SERVICE_URL
  });
}

export function fetchServiceMsgList(data) {
  return request({
		url: '/support/messages',
		method: 'POST',
    data,
    baseURL: process.env.VUE_APP_API_SERVICE_URL
	})
}